package com.woniu.service;

import com.woniu.model.dto.LeagueClassDto;
import com.woniu.model.dto.LeagueWorkforceDto;
import com.woniu.model.model.YLeagueClass;
import com.woniu.model.model.YLeagueWorkforce;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.model.param.AddLeagueClassForceParam;
import com.woniu.model.param.LoadLeagueClassForceParam;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
public interface YLeagueWorkforceService extends IService<YLeagueWorkforce> {

    List<YLeagueWorkforce> loadLeagueClassForceByVenueId(LoadLeagueClassForceParam param);

    void addLeagueClassForce(AddLeagueClassForceParam param) throws Exception;

    List<LeagueClassDto> loadLeagueClassForceWhichAllow(LoadLeagueClassForceParam param);

    Integer finishLeagueClassForce(Integer coachId, Integer id);

    Integer cancelLeagueClassForce(Integer coachId, Integer id);

    List<YLeagueWorkforce> loadLeagueWorkforceByClassId(Integer courseId);

    List<LeagueWorkforceDto> loadLeagueWorkforceByCoach(Integer coachId,String className);
}
